package cn.wolfcode.wolf2w.job.task;

import cn.wolfcode.wolf2w.business.api.RemoteStrategyRankService;
import cn.wolfcode.wolf2w.business.api.RemoteStrategyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.rmi.server.RemoteServer;

@Component("strategyStatisTask")
public class StrategyStatisHashTask {

    @Autowired
    private RemoteStrategyService remoteStrategyService;

    public void doWork(){
        remoteStrategyService.statisHashPersistence("inner");
    }
}
